Skip to content

Make :params available for for_action() with test and add :params' document for all for_* actions #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

iyjim
Copy link
Contributor

@iyjim iyjim commented May 12, 2025

Contributor checklist

  • Bug fixes include regression tests
  • [] Features include unit/acceptance tests

iyjim added 3 commits May 11, 2025 17:30
Form.for_action() needs initial params like Form.for_create() does, so add this test to ensure this feature work.
1. Add :params document for all for_* actions.
2. Fix 'for_action() doesn't accept :params option' issue
@zachdaniel
Copy link
Contributor

Another PR may have covered the dropping from form opts part of this. Can you pull/rebase main and see?

@iyjim
Copy link
Contributor Author

iyjim commented May 13, 2025

@zachdaniel Sure, let me close this one and submit another PR after rebase main.

@iyjim iyjim closed this May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants